package com.qcby.pushservice.base.bo;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;
import java.util.HashMap;

/**
 * 发送sms
 *
 * @author cong.zhen
 * @date 2023/05/09
 */
@Data
public class SendSmsBO {

    private Boolean send;

    private String code;

    private String desc;

    /**
     * 应用编码
     */
    @NotNull(message = "未传入应用编码")
    private String businessCode;

    /**
     * 消息模板编码
     */
    @NotNull(message = "未传入消息模板编码")
    private String messageCode;


    /**
     * 电话
     */
    @NotNull(message = "未传入手机号")
    private String phone;


    /**
     * 模板参数
     */
    private HashMap<String,String> params;
}
